fsMapViewSetWeatherRadarConeAngleInRadians
This function can be used to specify the angle of the cone in which the weather radar will display rainfall. Note that this is only useful if the fsMapViewSetWeatherRadarMode has been set to horizontal or vertical.
Syntax
bool fsMapViewSetWeatherRadarConeAngleInRadians(
FsContext ctx,
FsTextureId id,
float fConeAngle
)
Members
| Parameters | Description |
|---|---|
ctx |
A value of type FsContext provided as an argument of the gauge callback. |
id |
The MapView render ID as returned by the function fsMapViewCreate. |
fConeAngle |
The angle of the "cone of vision" for the weather radar, expressed in radians, from 0 to 2\(pi\). |
Return Values
Returns false if:
- no texture matches the given MapView ID
- the
ctxis invalid
Otherwise it will return true.
Remarks
N/A
See Also